package com.lunan.gulimail.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.lunan.gulimail.member.dao") // Mapper扫描
@SpringBootApplication
@EnableDiscoveryClient // 注册发现
@EnableFeignClients(basePackages = "com.lunan.gulimail.member.feign") // 客户端开启服务调用
public class GulimailMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimailMemberApplication.class, args);
    }

}
